package cn.tedu.autoshow.passport.service;

import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IAdminRoleService {

    void insertsAdminRoleByAdminId(Long adminId,Long[] roleIds);

    void insertsAdminRoleByRoleId(Long roleId,Long[] adminIds);

    void deletesAdminRoleByRoleId(Long roleId,Long[] adminIds);

    void deletesAdminRoleByAdminId(Long adminId,Long[] roleIds);

    List<Long> roleIdListByAdminId(Long adminId);

    List<Long> adminIdListByRoleId(Long roleId);

}
